<template>
  <div class="massage">
    封装massage提示框
  </div>
</template>

<script>
import message from '@/utils/message.js'
export default {
  created () {
    // message({
    //   type: 'success',
    //   message: '成功了！'
    // })
    message.success({ message: '提示成功了', duration: 6000 })
  }
}
</script>

<style></style>
